Populate GtkPlacesSidebar at initialization
authorJohn Lindgren <john.lindgren@aol.com>
Sun, 6 Oct 2013 17:58:00 +0000 (17:58 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Oct 2013 20:06:14 +0000 (16:06 -0400)
commit17a1f4abad6603e02866697b902f61e7cbf41d99
tree561f04d9ac08dc589a69b61f96aff06dfe411f91
parente86f979e45a4343ccce2e6fe0f99b2f7ee04abdc
Populate GtkPlacesSidebar at initialization

Previously, the "Places" sidebar was populated by the update_places()
call from within gtk_places_sidebar_style_set(). After
742a2f11a95a1e9ce56fe1a628743c7e8add8a57, update_places() is never called
and the sidebar is never populated unless gtk_places_sidebar_add_shortcut()
happens to be called. This commit fixes this by calling update_places()
at the end of gtk_places_sidebar_init().

https://bugzilla.gnome.org/show_bug.cgi?id=709522
gtk/gtkplacessidebar.c